package com.danger.dy.common.models.response;

import lombok.Getter;
import lombok.Setter;

/**
 * 写接口时如果还不确定返回什么对象，可以暂时返回AnyObject
 */
public class AnyObject {


    @Getter
    @Setter
    private Object result;

    public static AnyObject of(Object r) {
        return new AnyObject(r);
    }

    private AnyObject(Object r) {
        this.result = r;
    }

}
